package com.cc.mapper;

import com.cc.dto.BookParam;
import com.cc.entity.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BookMapper {
     List<Book> getList(@Param("bookParam") BookParam bookParam);

     int add(Book book);

     int update(Book book);

     int delete(Book book);
}
